package com.edu.hre.struts.form.pim;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;
import org.apache.struts.util.LabelValueBean;

import com.edu.hre.db.pojo.HreDistrict;
import com.edu.hre.db.pojo.HreProvince;

public class EmpContactDetailUpdateForm extends ActionForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6056273106708257020L;
	private Integer empNumber;
    private String addressStreet1;
    private String addressStreet2;
    private String districtCode;
    private String provinceCode;
    private String zipCode = "";
    private String homePhone = "";
    private String mobilePhone = "";
    private String workPhone = "";
    private String workEmail = "";
    private String otherEmail = "";
    private String empFullName = "";
    private boolean success = false;
    private boolean updatable = false;

    private List<LabelValueBean> allDistricts = new ArrayList<LabelValueBean>();
    private List<LabelValueBean> allProvinces = new ArrayList<LabelValueBean>();
    
    private boolean isAddNew = true;
    private String message = "";
    
	public Integer getEmpNumber() {
		return empNumber;
	}
	public void setEmpNumber(Integer empNumber) {
		this.empNumber = empNumber;
	}
	public String getAddressStreet1() {
		return addressStreet1;
	}
	public void setAddressStreet1(String addressStreet1) {
		this.addressStreet1 = addressStreet1;
	}
	public String getAddressStreet2() {
		return addressStreet2;
	}
	public void setAddressStreet2(String addressStreet2) {
		this.addressStreet2 = addressStreet2;
	}
	public String getDistrictCode() {
		return districtCode;
	}
	public void setDistrictCode(String districtCode) {
		this.districtCode = districtCode;
	}
	public String getProvinceCode() {
		return provinceCode;
	}
	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}
	public String getZipCode() {
		return zipCode;
	}
	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}
	public String getHomePhone() {
		return homePhone;
	}
	public void setHomePhone(String homePhone) {
		this.homePhone = homePhone;
	}
	public String getMobilePhone() {
		return mobilePhone;
	}
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	public String getWorkPhone() {
		return workPhone;
	}
	public void setWorkPhone(String workPhone) {
		this.workPhone = workPhone;
	}
	public String getWorkEmail() {
		return workEmail;
	}
	public void setWorkEmail(String workEmail) {
		this.workEmail = workEmail;
	}
	public String getOtherEmail() {
		return otherEmail;
	}
	public void setOtherEmail(String otherEmail) {
		this.otherEmail = otherEmail;
	}
	public List<LabelValueBean> getAllDistricts() {
		return allDistricts;
	}
	public void setAllDistricts(List<LabelValueBean> allDistricts) {
		this.allDistricts = allDistricts;
	}
	public List<LabelValueBean> getAllProvinces() {
		return allProvinces;
	}
	public void setAllProvinces(List<LabelValueBean> allProvinces) {
		this.allProvinces = allProvinces;
	}
	public boolean isAddNew() {
		return isAddNew;
	}
	public void setAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}
	public boolean getIsAddNew() {
		return isAddNew;
	}
	public void setIsAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getEmpFullName() {
		return empFullName;
	}
	public void setEmpFullName(String empFullName) {
		this.empFullName = empFullName;
	}
	public boolean isSuccess() {
		return success;
	}
	public boolean getSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public boolean isUpdatable() {
		return updatable;
	}
	
	public boolean getUpdatable() {
		return updatable;
	}

	public void setUpdatable(boolean updatable) {
		this.updatable = updatable;
	}
}
